Canvas.AcceptFocus Property

Syntax

AcceptFocus as Boolean


If True, the control can have the focus. It can accept the GotFocus and LostFocus events and can display a focus ring if UseFocusRing is set to True.

(Macintosh only). The default is False.